package demo.practice.string;

public class Offer58 {

    public String reverseLeftWords(String s, int n) {
        n=n%s.length();
        return s.substring(n)+s.substring(0,n);
    }
}
